<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<script type="text/javascript" src="http://127.0.0.1/CMS/Application/Admin/View/Public/Js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="http://127.0.0.1/CMS/Application/Admin/View/Public/Js/index.js"></script>
<link rel="stylesheet" href="http://127.0.0.1/CMS/Application/Admin/View/Public/Css/public.css" />
<link rel="stylesheet" href="http://127.0.0.1/CMS/Application/Admin/View/Public/Css/index.css" />
<link rel="stylesheet" href="http://127.0.0.1/CMS/Static/hdjs/hdjs.css" />
<script type="text/javascript" scr='http://127.0.0.1/CMS/Static/hdjs/hdjs.min.js'></script>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<base target="iframe"/>
<head>
</head>
<body>
	<div id="top">
		<div class="menu">
			<a href="#">选择按钮</a>
			<a href="#">选择按钮</a>
			<a href="#">选择按钮</a>
			<a href="#">选择按钮</a>
			<a href="#">选择按钮</a>
		</div>
		<div class="exit">
		<?php 
			if(isset($_SESSION['user'])){?>
				<span>欢迎 <?php echo $_SESSION['user'];  ?> 回来！</span>
				<a href="<?php echo U('Login/out');?>" target="_self">退出</a>
			<?php }else{?>
				<a href="<?php echo U('Login/reg');?>" target="_blank">注册</a>
				<a href="<?php echo U('Login/login');?>" target="_blank">登陆</a>
			<?php }?>
		</div>
	</div>
	<div id="left">
		<dl>
			<dt>分类管理</dt>
			<dd><a href="<?php echo U('Category/index');?>">分类列表</a></dd>
			<dd><a href="<?php echo U('Category/add');?>">添加分类</a></dd>
			<dd><a href="<?php echo U('Category/cache');?>">更新栏目缓存</a></dd>
			
		</dl>
		<dl>
			<dt>文章管理</dt>
			<dd><a href="<?php echo U('Tag/index');?>">标签列表</a></dd>
			<dd><a href="<?php echo U('Tag/add');?>">添加标签</a></dd>
			<dd><a href="#">文章列表</a></dd>
			<dd><a href="#">添加文章</a></dd>
		
		</dl>
		<dl>
			<dt>友情链接</dt>
			<dd><a href="<?php echo U('Flink/index');?>">友链列表</a></dd>
			<dd><a href="<?php echo U('Flink/add');?>">添加友链</a></dd>
		</dl>
	</div>
	<div id="right">
		<iframe name="iframe" src="#"></iframe>
	</div>
</body>
</html>